Robotics 1.0
Lesson 2 :Hello CPX.
1 - 1 (Time : 1 hour and 30 minutes; each group has a maximum of 2 students).
CPX(Arduino board).
USB cable
Familiarity with Circuit Playground Express (CPX)
Knowledge on Variables in python
Boot CPX in Circuit Python mode
Blink the Neopixel at index 0
Click here to view the instructions and codeIntroduction to Conditional Statements
Click here to view the instructions and codeLED Blink Program using Conditional Statements and Looping Structures
Click here to view the instructions and code
In cp.pixels[0], what does the number 0 represent? Ask the students to try cp.pixels[20] and observe what happens. Discuss the output.